﻿CREATE TABLE [dbo].[Categories] (
    [Id]            INT             IDENTITY (1, 1) NOT NULL,
    [ParentId]      INT             NULL,
    [Name]          NVARCHAR (255)  NOT NULL,
    [UserId]        INT             NOT NULL,
    [NestingLevel_] INT             NOT NULL,
    [FullName_]     NVARCHAR (4000) NULL
);

